﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo04
{
    class Bird : Animals, IFlyable
    {
        public void Fly()
        {
            Console.WriteLine("我会慢慢飞");
        }

        public void Land()
        {
            Console.WriteLine("我会停");
        }

        public void Takeoff()
        {
            Console.WriteLine("我会起飞");
        }
        public void LayEggs()
        {
            Console.WriteLine("我会下蛋");
        }

        public override void Eat()
        {
            base.Eat();
            Console.WriteLine("我会吃肉");
        }
    }
}
